<?php

/**
 * This is the model class for table "goods_travel".
 *
 * The followings are the available columns in table 'goods_travel':
 * @property integer $id ID
 * @property integer $uid 用户
 * @property integer $goods_id 商品id
 * @property integer $company_id 旅行社
 * @property integer $type 旅游路线类型
 * @property integer $num 出行人数
 * @property string $traffic 交通
 * @property integer $day_number 出行天数
 * @property string $start_time 报名开始时间
 * @property string $end_time 报名截止时间
 * @property integer $travel_province 旅游城市
 * @property integer $travel_city 旅游城市
 * @property integer $travel_district Travel District
 * @property integer $departure_province 出发城市
 * @property integer $departure_city Departure City
 * @property integer $departure_district Departure District
 * @property string $service 服务标准
 * @property string $desc 行程描述
 * @property string $departure_time Departure Time
 * @property string $return_time Return Time
 * @property integer $total_num Total Num
 * @property string $departure_address 详细集合地址
 * @property string $emergency_tel 紧急联系电话
 * @property string $send_group 发团描述
 */
class GoodsTravel extends ActiveRecord
{
	/**
	 * Returns the static model of the specified AR class.
	 * @return GoodsTravel the static model class
	 */
	public static function model($className=__CLASS__) {
		return parent::model($className);
	}
	
	public function getMdcClass() {
		return 'application.models.metadata.GoodsTravelMetadata';
	}
}